<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="UTF-8" />
    <meta http-equiv="X-UA-Compatible" content="IE=edge" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <title>Document</title>
  </head>
  <body>
    <div></div>
    <script>
      const git = "50g茶叶,清洗球";
      const arr = git.split(",");
      const res = arr.map((el) => `<span>【赠品】</span>${el}<br>`);
      const div = document.querySelector("div");
      div.innerHTML = res.join("");
    </script>
  </body>
</html>
